raar.agent
Class RAAgentFactory

java.lang.Object
  extended by raar.agent.RAAgentFactory
All Implemented Interfaces:
RAPlugin
Direct Known Subclasses:
RAAgentFactory_Amigo, RAAgentFactory_RAAgent, RAExternalAgentFactory_Khepera

public abstract class RAAgentFactory
extends java.lang.Object
implements RAPlugin

Implement this class to enable SBM to work with new agent models.


Constructor Summary
RAAgentFactory()
           
 
Method Summary
abstract  RAAgent getNewAgent()
          Get a new agent, you might want to name it (setName).
 java.lang.String getPluginType()
          Return a type for the plug-in in question (agent).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface raar.plugin.RAPlugin
configure, getPluginIcon, getPluginName
 

Constructor Detail

RAAgentFactory

public RAAgentFactory()
Method Detail

getNewAgent

public abstract RAAgent getNewAgent()
                             throws RAException
Get a new agent, you might want to name it (setName).

Throws:
RAException

getPluginType

public final java.lang.String getPluginType()
Return a type for the plug-in in question (agent).

Specified by:
getPluginType in interface RAPlugin